
export default class DialogModel {
  visible= false;
  title= '标题';
  closebtn=false;

  confirm=null;
  constructor(props) {
    Object.assign(this, props)
    // //Object.assign方法用于对象的合并
    return this
  }
  static createObj(props) {
    return new DialogModel(props)
  }
}
